using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 快速采购
    /// </summary>
    public class Purchase: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 方案名称
        /// </summary>
        [Required]
        public string Name { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [Required]
        public string Remark  { get; set; }
        
        /// <summary>
        /// 分析仓库
        /// </summary>
        [Required]
        public string Stash { get; set; }
        
        /// <summary>
        /// 影响因素
        /// </summary>
        [Required]
        public string Factor { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [Required]
        public DateTime Createtime { get; set; }
        
        /// <summary>
        /// 执行时间
        /// </summary>
        [Required]
        public DateTime Times { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}